.wrapper{
  position: relative;
  @include full-flex;
  box-sizing: border-box;
  min-height: 100vh;
  &:after{
    height: 0;
    height: constant(safe-area-inset-bottom);
    height: env(safe-area-inset-bottom);
    background-color: $white;
  }
}

.inner-wrapper{
  width: 100vw;
}

.block-wrapper{
  padding-left: $space;
  padding-right: $space;
  padding-bottom: $space;
  &.nph{
    padding-left: 0;
    padding-right: 0;
  }
  &.npb{
    padding-bottom: 0;
  }
  &.pt{
    padding-top: $space;
  }
  .block-inner{
    background-color: $white;
    border-radius: $radius;
    padding: $space;
    padding-top: 0;
    &.theme{
      background-color: $theme;
    }
    &.pt{
      padding-top: $space;
    }
    &.input{
      padding-top: 5px;
      padding-bottom: 5px;
    }
    &.mt{
      margin-top: $space;
    }
  }
  .block-button{
    width: 100%;
    border-radius: 3px;
    color: $white;
    background-color: $theme;
    font-size: 14px;
    margin-top: $space;
    text-align: center;
    line-height: 40px;
  }
  .block-tip{
    font-size: 12px;
    color: $fc2;
    line-height: 35px;
    padding: 0 10px;
    &.np{
      line-height: 1;
      padding: 0;
    }
  }
  .block-inner-content{
    margin-top: $space;
    color: $fc2;
    font-size: 14px;
    line-height: 1.75;
  }
  .block-input-wrapper{
    display: flex;
    flex-direction: row;
    padding: 10px 0;
    justify-content: space-between;
    color: $fc1;
    font-size: 14px;
    align-items: center;
    &.border{
      border-bottom: 1px solid $border;
    }
    &.column{
      flex-direction: column;
      justify-content: flex-start;
    }
    .block-input-label{
      width: 80px;
      &.required{
        &:before{
          content: '*';
          color: $red;
          margin-right: 5px;
        }
      }
    }
    .block-input{
      flex: 1;
      text-align: left;
      &.right{
        text-align: right;
      }
    }
    .block-input-tip{
      font-size: 12px;
      color: $fc2;
      display: flex;
      flex-direction: row;
      align-items: center;
    }
  }
  .block-title{
    @include title;
    text-align: center;
    margin-bottom: 10px;
    &.full{
      text-align: left;
      margin-left: -$space;
      margin-right: -$space;
      border-bottom: 1px solid $border;
      padding: $space;
      padding-top: 0;
    }
  }
  .block-text{
    text-align: center;
    font-size: 14px;
    color: $fc1;
    &.lh30{
      line-height: 30px;
    }
  }
  .block-more{
    @include row;
    padding-top: 10px;
    color: $fc3;
    font-size: 12px;
  }
}

.tab-placeholder{
  position: relative;
  bottom: 0;
  width: 100%;
  height: 56px;
  height: calc(constant(safe-area-inset-bottom) + 56px);
  height: calc(env(safe-area-inset-bottom) + 56px);
  background-color: transparent;
  // &:before{
  //   position: absolute;
  //   top: 0;
  //   width: 100%;
  //   height: 10px;
  //   background-color: $bg-gray;
  //   content: '';
  // }
}